<?php
/**
 * User: Eric-Nothing
 * Datetime: 2019/6/24-9:46
 */
require 'vendor/autoload.php';

use App\Connector\Shape\Circle;
use App\Connector\Shape\Square;
use App\Controllers\AreaCalculator;
$shapes = [
    new Circle(2),
    new Square(5),
    new Square(6)
];

$area = new AreaCalculator($shapes);

echo $area->output();